import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import VueMeta from 'vue-meta'
Vue.use(VueMeta)


import axios from '@/api/http';
Vue.prototype.$http = axios;

let jwt = localStorage.getItem("_token");
if (jwt) {
    store.commit("global/setJwt", jwt);
};

Vue.config.productionTip = false;

new Vue({
    router,
    store,
    render: h => h(App)
}).$mount('#app')